﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Siva.CBC.Barnacle.ashx
{
    public class cunReturn
    {
        public bool Success { get; set; }
        public string Message { get; set; }

        public string Data { get; set; }
    }

    public class cunModel
    {
        public string province { get; set; }
        public string city { get; set; }

        public string district { get; set; }
        public string town { get; set; }
        public string village { get; set; }
        public string name { get; set; }
        public string tel { get; set; }
        public string Memo { get; set; }
    }

    public class RecordModel
    {
        public string filename { get; set; }
        public string fullname { get; set; }

        [JsonConverter(typeof(DateTimeFormatConverter),"yyyy年MM月dd日HH:mm:ss")]
        public DateTime createtime { get; set; }

    }

    public class ServerModel
    {
        public string controller { get; set; }
        public string domain { get; set; }
        public string op { get; set; }
        public string oppwd { get; set; }
        public string OU1 { get; set; }
        public string OU2 { get; set; }
        public string OU3 { get; set; }
    }

    public class ADUserModel
    {
        public string account { get; set; }
        public string name { get; set; }
    }
}